//
//  InSoundPlayingTableViewCell.m
//  Inner  Voice
//
//  Created by 徐海宇 on 16/3/2.
//  Copyright © 2016年 徐海宇. All rights reserved.
//

#import "InSoundPlayingTableViewCell.h"

#import "UIImageView+WebCache.h"

@implementation InSoundPlayingTableViewCell

- (void)awakeFromNib {
    // Initialization code
}
- (void)layoutSubviews {
    [super layoutSubviews];
    self.myImageView.layer.cornerRadius = self.frame.size.height*0.7/2;
    
    self.myImageView.layer.masksToBounds = YES;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)loadImageWithStr:(NSString*)str{
    
    NSURL *url = [NSURL URLWithString:str];
    
    [self.myImageView sd_setImageWithURL:url placeholderImage:[UIImage imageNamed:@"1.jpg"]];
    
}

@end
